<?php

namespace catchAdmin\login\controller;

use catchAdmin\phone\model\Order;
use catcher\CatchResponse;
use think\facade\Cache;
use think\facade\Log;

class Autorun
{
    public function ereayday(){

        Order::wherein('status',[0,2,3])->delete();
    }

    public function sendweizhi(){
//        p(request()->param());
        Log::write(request()->param());
        Cache::store('redis')->set(request()->param('car'),request()->param('weizhi'),60*3);
        return CatchResponse::success();

    }



}